// pages/apply/apply.js
var WxAutoImage = require('../../js/wxAutoImageCal.js');
var app = getApp();

Page({
    data: {
        imgUrls: [
            'test.png',
            'test1.png',
            'test.png'
        ],
        indicatorDots: true,
        vertical: false,
        autoplay: true,
        interval: 3000,
        duration: 1200,
        iconArray: [
            {
                "iconUrl": '部落分类.png',
                "iconText": '部落分类'
            },
            {
                "iconUrl": '精选合集.png',
                "iconText": '精选合集'
            },
            {
                "iconUrl": '热门话题.png',
                "iconText": '热门话题'
            }
        ],
        carArray: [
  			{
  				carImage: '1.png',
  				carTitle: '四川',
  				carPrice: '成员4.6万 话题3万',
  				carNum: 1,
  				carShow: true
  			},
  			{
  				carImage: '2.png',
  				carTitle: '内江',
  				carPrice: '成员1.9万 话题2.1万',
  				carNum: 1,
  				carShow: true
  			},
  			{
  				carImage: '3.png',
  				carTitle: '魔兽争霸',
  				carPrice: '成员6.8万 话题1.3万',
  				carNum: 1,
  				carShow: true
  			}
  		]
    },
     bindViewTap: function() {
        wx.navigateTo({
            url: '../logs/logs'
        })
    },
    cusImageLoad: function(e){
        var that = this;
        that.setData(WxAutoImage.wxAutoImageCal(e));
    }
})